<?php
include('config.php');
session_start();
$user_check=$_SESSION['login_user'];
$ses_sql=mysql_query("select * from user where user_email='$user_check' and is_admin = 1");
$line=mysql_fetch_array($ses_sql);
$login_session=$line['user_email'];
if(!isset($login_session))
{
header("Location: Login.php");
}
?>